import request from './index.js'


//微信登录
export const login = (params) => {
	console.log("开始接口请求1111")
	return request({
		url: '/weixin/getGZHconfig',
		method: 'post',
		data: params,
		header: {}
	})
}

//餐厅列表
export const storeList = (params) => {
	console.log("开始接口请求1111")
	return request({
		url: '/waimai/storeList',
		method: 'post',
		data: params,
		header: {}
	})
}

//选择的餐厅
export const storeInfo = (params) => {
	console.log("开始接口请求1111")
	return request({
		url: '/waimai/storeInfo',
		method: 'post',
		data: params,
		header: {}
	})
}

export const getMenus = (params) => {
	console.log("开始接口请求1111")
	return request({
		url: '/waimai/getMenus',
		method: 'post',
		data: params,
		header: {}
	})
}


